export interface ILegerItem {
  id: number;
  content: string;
  price: number;
  number: number;
  unit: string;
  totalPrice?: number;
  payer: string;
  provider: string;
  imageUrl: string;
  remark: string;
}

export interface ILedger {
  category: string;
  totalAmount: number;
  itemList: ILegerItem[];
}

export interface ILedgerRecord {
  id: number;
  book: string;
  category: string;
  content: string;
  price: number;
  number: number;
  totalPrice?: number;
  unit: string;
  payer: string;
  provider: string;
  imageUrl: string;
  remark: string;
}

export interface ILedgerQuery {
  book: string;
}
